<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<link href="{CSS_PATH}style.css" rel="stylesheet" type="text/css" />
<link href="{CSS_PATH}slider.css" rel="stylesheet" type="text/css" />
<link href="{CSS_PATH}contact.css" rel="stylesheet" type="text/css" />
</head>
<body>
{template "content","header"}
<!--main-->
<div class="main center w1024">
    <div class="w980 center">
        <div class="news-top">
            {pc:content action="position" posid="1" order="listorder DESC" num="1"}
            {loop $data $r}
            <h3><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],150,'...')}</a></h3>
            <p>{$r['description']}</p>
            {/loop}
            {/pc}
        </div>
        <div class="top1">
            <div class="_left _float">
                <div id="swf-content1">
                    <p align="center" style="margin-top:100px;"><img src="{IMG_PATH}msg_img/loading.gif" /> 数据载入中……</p>
                </div>
                <script type="text/javascript">
                var _xmlData = '<list>';
                {pc:content action="position" posid="2"  order="listorder DESC" thumb="1" num="5"}
                {loop $data $r}
                _xmlData += '<item>';
                _xmlData += '<img>' + '{$r["thumb"]}' + '</img>';  // size 517x257
                _xmlData += '<title>' + '{str_cut(trim($r["title"]), 36, '')}' + '</title>';
                _xmlData += '<title2>' + '{str_cut(trim($r["description"]), 42, '')}' + '</title2>';
                _xmlData += '<url>' + '{str_replace("&", "%26", $r["url"])}' + '</url>';
                _xmlData += '<target>_blank</target></item>';
                {/loop}
                {/pc}
                _xmlData += '</list>';
                </script>
            </div>
            <div class="w246 _right _rfloat">
                <table border="0" width="100%" class="h30 _title">
                    <tr>
                        <td width="24" class="_icon"><img src="{IMG_PATH}web/icon1.png" /></td>
                        <td class="_name">古城新闻</td>
                        <td align="right" class="_more"><a href="/index.php?m=content&c=index&a=lists&catid=7" title="查看更多"><img src="{IMG_PATH}web/more1.png" border="0" /></a></td>
                    </tr>
                </table>
                <ul class="_list">
                {pc:content action="position" posid="8" order="listorder DESC" num="8"}
                    {loop $data $r}
                    <li><img src="{IMG_PATH}web/arrow1.png" />
                    <a href="{$r['url']}" target="_blank" title="{$r['title']}"{title_style($r[style])}>{str_cut($r['title'],39,'')}</a>&nbsp;<span class="_time">[{date('m-d', $r['inputtime'])}]</span></li>
                    {/loop}
                {/pc}
                </ul>
            </div>
            <div class="_clear"></div>
        </div>
        <div class="top2">
            <div class="w240 _left _float">
                <table border="0" width="100%" class="h34 _title">
                    <tr>
                        <td width="24" class="_icon"><img src="{IMG_PATH}web/icon3.png" /></td>
                        <td class="_name">网站公告</td>
                        <td align="right"></td>
                    </tr>
                </table>
                <div class="_list">
                    <marquee onmouseover="this.stop()" onmouseout="this.start()" scrollamount="2" scrolldelay="40" direction="up" align="left">
                        <ul>
                        {pc:announce action="lists" siteid="$siteid" num="10"}
                            {loop $data $r}
                            <li><img src="{IMG_PATH}web/dot1.gif" />
                            <a href="/index.php?m=announce&c=index&a=show&aid={$r['aid']}" target="_blank" title="{$r['title']}"{title_style($r[style])}>{str_cut($r['title'],36, '')}</a>&nbsp;<span class="_time">({date('m-d', strtotime($r['starttime']))})</span></li>
                            {/loop}
                        {/pc}
                        </ul>
                    </marquee>
                    <div class="minAD2"><script language="javascript" src="{APP_PATH}index.php?m=poster&c=index&a=show_poster&id=6"></script></div>
                </div>
            </div>
            <div class="w480 _center _rfloat">
                <div class="h30 _title"><!-- 旅游线路 -->
                    <span class="_more"><a href="/index.php?m=content&c=index&a=lists&catid=14" title="查看更多">更多...</a></span>
                </div>
                <div class="_list">
                    {pc:content action="position" posid="9" order="listorder DESC" num="1"}
                    {loop $data $r}
                    <a href="{$r['url']}" title="{$r['title']}" target="_blank" class="_hot">
                        <div class="_thumb"><img src="{$r['thumb']}" border="0" width="200" height="100" /></div>
                        <div class="_intro">
                            <h4>{str_cut($r['title'],48,'')}</h4>
                            <p>{str_cut($r['description'],200)}</p>
                        </div>
                    </a>
                    {/loop}
                    {/pc}
                    <div class="_clear"></div>
                    <ul>
                    {pc:content action="lists" catid="9" order="id DESC" num="5"}
                        {loop $data $r}
                        <li><span class="_price">{$r['price']}</span><a href="{$r['url']}" target="_blank" title="{$r['title']}"{title_style($r[style])}>[{typename($r['typeid'])}] {str_cut($r['title'],75)}</a></li>
                        {/loop}
                    {/pc}
                    </ul>
                </div>
            </div>
            <div class="w246 _right _rfloat">
                <table border="0" width="100%" class="h34 _title">
                    <tr>
                        <td width="30" class="_icon"><img src="{IMG_PATH}web/icon8.png" /></td>
                        <td class="_name">最新接待记录</td>
                        <td align="right" class="_more"><a href="/index.php?m=content&c=index&a=lists&catid=14" title="查看更多"><img src="{IMG_PATH}web/more2.png" border="0" /></a></td>
                    </tr>
                </table>
                <ul class="_list">
                {pc:content action="lists" catid="14" order="id DESC" num="5"}
                    {loop $data $r}
                    <li><img src="{IMG_PATH}web/arrow1.png" />
                    <a href="{$r['url']}" target="_blank" title="{$r['title']}"{title_style($r[style])}>{str_cut($r['title'],84)} <span>[{date('m-d', $r['inputtime'])}]</span></a></li>
                    {/loop}
                {/pc}
                </ul>
            </div>
            <div class="_clear"></div>
        </div>
        <div class="AD1">
            <div><script language="javascript" src="{APP_PATH}index.php?m=poster&c=index&a=show_poster&id=8"></script></div>
        </div>
        <div class="mid1">
            <div class="_left _float">
                <div class="h30 _title"><!-- 推荐景区 -->
                    <span class="_more"><a href="/index.php?m=content&c=index&a=lists&catid=12" title="查看更多"><img src="{IMG_PATH}web/more3.png" border="0" /></a></span>
                </div>
                <div class="_list">
                    {pc:content action="lists" catid="12" where="`typeid`=60" order="id DESC" num="3"}
                    {loop $data $r}
                    <a href="{$r['url']}" title="{$r['title']}" target="_blank" class="_hot">
                        <div class="_thumb"><img src="{$r['thumb']}" border="0" width="162" height="115" /></div>
                        <div class="_intro">
                            <h4>{str_cut($r['title'],36,'')}</h4>
                            <p>{str_cut($r['description'],200)}</p>
                        </div>
                    </a>
                    {/loop}
                    {/pc}
                    <ul>
                    {pc:content action="lists" catid="12" order="id DESC" num="16"}
                        {loop $data $r}
                        <li><a href="{$r['url']}" target="_blank" title="{$r['title']}"{title_style($r[style])}>{str_cut($r['title'],75,'')}</a></li>
                        {/loop}
                    {/pc}
                    </ul>
                </div>
            </div>
            <div class="w246 _right _rfloat">
                <table border="0" width="100%" class="h34 _title">
                    <tr>
                        <td width="24" class="_icon"><img src="{IMG_PATH}web/icon2.png" /></td>
                        <td class="_name">交通小贴士</td>
                        <td align="right" class="_more">&nbsp;</td>
                    </tr>
                </table>
                <div class="_list" style="position:relative">
                    {pc:block pos="home-traffic"}
                    {/pc}
                    <a href="/index.php?m=content&c=index&a=lists&catid=35" target="_blank" class="_mapmore" title="查看详细地图">查看地图</a>
                </div>
            </div>
            <div class="_clear">
            </div>
        </div>
        <div class="mid2">
            <div class="w246 _left _float">
                <table border="0" width="100%" class="h34 _title">
                    <tr>
                        <td width="24" class="_icon"><img src="{IMG_PATH}web/icon6.png" /></td>
                        <td class="_name">联系我们</td>
                        <td align="right" class="_more">&nbsp;</td>
                    </tr>
                </table>
                <div class="_list">
                    {pc:block pos="home-contact"}
                    {/pc}
                </div>
            </div>
            <div class="_right _rfloat">
                <table border="0" width="100%" class="_title">
                    <tr>
                        <td width="45" class="_icon"><img src="{IMG_PATH}web/icon7.png" /></td>
                        <td class="_name">凤凰客栈&nbsp;&nbsp;宾馆酒店</td>
                        <td align="right" class="_more"><a href="/index.php?m=content&c=index&a=lists&catid=11" title="查看更多"><img src="{IMG_PATH}web/more3.png" border="0" /></a></td>
                    </tr>
                </table>
                <div class="_list">
                    {pc:content action="lists" catid="11" where="`typeid`=61" order="id DESC" num="2"}
                    {loop $data $r}
                    <a href="{$r['url']}" title="{$r['title']}" target="_blank" class="_elite">
                        <div class="_thumb"><img src="{$r['thumb']}" border="0" width="160" height="115" /></div>
                        <div class="_intro">
                            <h4>{str_cut($r['title'],36,'')}</h4>
                            <div><b style="color:#c30;">推荐指数</b>：{$r['elites']}</div>
                            <div><b>位置</b>：{$r['position']}</div>
                            <div><b>特点</b>：{$r['feature']}</div>
                        </div>
                    </a>
                    {/loop}
                    {/pc}
                    <ul>
                    {pc:content action="lists" catid="11" order="id DESC" num="12"}
                        {loop $data $r}
                        <li>★☆ <a href="{$r['url']}" target="_blank" title="{$r['title']}"{title_style($r[style])}>{str_cut($r['title'],75,'')}</a></li>
                        {/loop}
                    {/pc}
                    </ul>
                    <div class="_clear"></div>
                </div>
            </div>
            <div class="_clear"></div>
        </div>
        <div class="midPic">
            <div class="_box">
                {pc:content  action="position" posid="5" thumb="1" order="listorder DESC" num="10"}
                <div id="demoDiv" class="marqueeBox" style="overflow:hidden;white-space:nowrap;">
                    <span id="picBox1">
                    {loop $data $r}
                        <span class="_item">
                            <a href="{$r[url]}" target="_blank" class="_pic"><img src="{thumb($r[thumb],110,0)}" title="{$r[title]}" border="0"/></a>
                            <a href="{$r[url]}" target="_blank" class="_ttl">{str_cut($r[title],24,'')}</a>
                        </span>
                    {/loop}
                    </span><span id="picBox2"></span>
                </div>
                {/pc}
                <script language="JavaScript">
                var speed = 20;
                demo = document.getElementById('demoDiv');
                demo1 = document.getElementById('picBox1');
                demo2 = document.getElementById('picBox2');
                demo.scrollLeft = 0;
                demo2.innerHTML = demo1.innerHTML
                function Marquee(){
                    if(demo.scrollLeft >= demo1.offsetWidth)
                      demo.scrollLeft -= demo1.offsetWidth;
                    else demo.scrollLeft += 1;
                }
                var _MyMar = setInterval(Marquee, speed)
                demo.onmouseover = function() { clearInterval(_MyMar) }
                demo.onmouseout = function() { _MyMar = setInterval(Marquee, speed) }
                </script>
            </div>
        </div>
        <div class="down1">
            <div class="w322 _left _float">
                <table border="0" width="100%" class="h34 _title">
                    <tr>
                        <td class="_icon">&nbsp;</td>
                        <td class="_name">特产美食</td>
                        <td align="right" class="_more"><a href="/index.php?m=content&c=index&a=lists&catid=17" title="查看更多"><img src="{IMG_PATH}web/more4.png" border="0" /></a></td>
                    </tr>
                </table>
                <div class="_list">
                    <ul>
                    {pc:content action="lists" catid="17" order="id DESC" num="15"}
                        {loop $data $r}
                        <li><span>▲</span>
                        <a href="{$r['url']}" target="_blank" title="{$r['title']}"{title_style($r[style])}>{str_cut($r['title'],18,'')}</a></li>
                        {/loop}
                    {/pc}
                    </ul>
                    <div class="_clear"></div>
                    <div class="_down">
                        <script language="javascript" src="{APP_PATH}index.php?m=poster&c=index&a=show_poster&id=9"></script>
                        <script language="javascript" src="{APP_PATH}index.php?m=poster&c=index&a=show_poster&id=10"></script>
                    </div>
                </div>
            </div>
            <div class="w322 _center _rfloat">
                <table border="0" width="100%" class="h34 _title">
                    <tr>
                        <td class="_icon">&nbsp;</td>
                        <td class="_name">古城名店</td>
                        <td align="right" class="_more"><a href="/index.php?m=content&c=index&a=lists&catid=10" title="查看更多"><img src="{IMG_PATH}web/more4.png" border="0" /></a></td>
                    </tr>
                </table>
                <div class="_list">
                    <div class="_up">
                        <script language="javascript" src="{APP_PATH}index.php?m=poster&c=index&a=show_poster&id=7"></script>
                    </div>
                    <ul>
                    {pc:content action="lists" catid="10" order="id DESC" num="10"}
                        {loop $data $r}
                        <li><img src="{IMG_PATH}web/arrow2.png" />
                        <a href="{$r['url']}" target="_blank" title="{$r['title']}"{title_style($r[style])}>{str_cut($r['title'],27,'')}</a></li>
                        {/loop}
                    {/pc}
                    </ul>
                    <div class="_clear"></div>
                </div>
            </div>
            <div class="w322 _right _rfloat">
                <table border="0" width="100%" class="h34 _title">
                    <tr>
                        <td class="_icon">&nbsp;</td>
                        <td class="_name">--------</td>
                        <td align="right" class="_more"><a href="/index.php?m=content&c=index&a=lists&catid=30" title="查看更多"><img src="{IMG_PATH}web/more4.png" border="0" /></a></td>
                    </tr>
                </table>
                <div class="_list">
                    <div class="_up">
                        <!--// 上部区块 -->
                    </div>
                    <div class="_clear"></div>
                    <ul>
                    {pc:content action="lists" catid="30" order="listorder ASC,id DESC" num="16"}
                        {loop $data $r}
                        <li><span>★</span>
                        <a href="{$r['url']}" target="_blank" title="{$r['title']}"{title_style($r[style])}>{$r['title']}</a></li>
                        {/loop}
                    {/pc}
                    </ul>
                    <div class="_clear"></div>
                </div>
            </div>
            <div class="_clear"></div>
        </div>
        <div class="down2">
            <table border="0" width="100%" class="h34 _title">
                <tr>
                    <td class="_name">&nbsp;</td>
                    <td align="right" class="_more"><a href="/index.php?m=content&c=index&a=lists&catid=19" title="查看更多"><img src="{IMG_PATH}web/more5.png" border="0" /></a></td>
                </tr>
            </table>
            <table border="0" width="100%" class="_list" cellspacing="5">
                <tr valign="top">
                    <td width="150"><img src="{IMG_PATH}web/bkyj1.png" /></td>
                    <td width="264">
                        <h4><img src="{IMG_PATH}web/icon10.png" /> 游记·攻略</h4>
                        <ul class="_content">
                        {pc:content action="lists" catid="19" order="id DESC" num="5"}
                            {loop $data $r}
                            <li><img src="{IMG_PATH}web/dot1.gif" />
                            <span class="_time">[{date('m-d', $r['inputtime'])}]</span> <a href="{$r['url']}" target="_blank" title="{$r['title']}"{title_style($r[style])}>{str_cut($r['title'],42)}</a></li>
                            {/loop}
                        {/pc}
                        </ul>
                        <div class="_dotline"></div>
                        <ul class="_content">
                        {pc:content action="lists" catid="20" order="id DESC" num="5"}
                            {loop $data $r}
                            <li><img src="{IMG_PATH}web/dot1.gif" />
                            <span class="_time">[{date('m-d', $r['inputtime'])}]</span> <a href="{$r['url']}" target="_blank" title="{$r['title']}"{title_style($r[style])}>{str_cut($r['title'],42)}</a></li>
                            {/loop}
                        {/pc}
                        </ul>
                    </td>
                    <td width="1" style="border-left:1px #ccc dotted;"></td>
                    <td width="264" class="_center">
                        <h4><img src="{IMG_PATH}web/icon11.png" />自助游</h4>
                        <ul class="h120 _content _up">
                        {pc:content action="lists" catid="24" order="id DESC" num="4"}
                            {loop $data $r}
                            <li>★
                            <span class="_time">[{date('m-d', $r['inputtime'])}]</span> <a href="{$r['url']}" target="_blank" title="{$r['title']}"{title_style($r[style])}>{str_cut($r['title'],42)}</a></li>
                            {/loop}
                        {/pc}
                        </ul>
                        <h4><img src="{IMG_PATH}web/car.png" /> 自驾车游</h4>
                        <ul class="h140 _content _down">
                        {pc:content action="lists" catid="23" order="id DESC" num="5"}
                            {loop $data $r}
                            <li>☆
                            <span class="_time">[{date('m-d', $r['inputtime'])}]</span> <a href="{$r['url']}" target="_blank" title="{$r['title']}"{title_style($r[style])}>{str_cut($r['title'],42)}</a></li>
                            {/loop}
                        {/pc}
                        </ul>
                    </td>
                    <td width="1" style="border-left:1px #ccc dotted;"></td>
                    <td width="264">
                        <h4>
                            <img src="{IMG_PATH}web/photo.png" />导游风采
                            <span style="float:right;">
                                <div id="leftControl"></div>
                                <div id="rightControl"></div>
                            </span>
                        </h4>
<div class="h140 slide-h">
    <div id="slideshow">
        <div id="slidesContainer">
            {pc:content action="position" posid="14" order="listorder DESC" num="10"}
            {loop $data $r}
            <div class="slide">
                <div class="_thumb">
                    <a href="{$r['url']}" target="_blank" title="查看详细"><img src="{$r['thumb']}" border="0" width="100" height="126" /></a>
                </div>
                <span class="_intro">
                    <h6>姓名：<a href="{$r['url']}" target="_blank" title="{$r['title']}">{$r['title']}</a></h6>
                    <div><span>年龄</span>：{$r['ages']} 岁</div>
                    <div><span>电话</span>：{$r['tel']}</div>
                    <div><span>语种</span>：{$r['langs']}</div>
                    <div><span>证号</span>：{$r['diploma']}</div>
                    <div><span>线路</span>：{$r['circuit']}</div>
                </span>
            </div>
            {/loop}
            {/pc}
        </div>
    </div>
</div>

                        <div class="_ad" style="text-align:right;">
                            <script language="javascript" src="{APP_PATH}index.php?m=poster&c=index&a=show_poster&id=5"></script>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
        <div class="downPic">
            <!-- 栅格幻灯片 -->
            {pc:content action="position" posid="10" order="listorder DESC, id DESC" num="7"}
            <div id="slider-b" class="_slider">
                {loop $data $r}
                <div class="slide">
                    <a href="{$r['url']}" target="_blank"><img src="{$r['thumb']}" width="640" height="400" border="0" class="pic"></a>
                    <div class=text>
                        <b>×</b>
                        <h4>{$r['title']}</h4>
                        <p>{str_cut($r['description'],200)}</p>
                    </div>
                </div>
                {/loop}
            </div>
            {/pc}
        </div>
        {template "content","border-b"}
        <div class="_clear"></div>
    </div>
</div>
{template "content","block-flink1"}
<div class="w980 plink center">
    <a href="http://travel.163.com/"><img src="{IMG_PATH}web/tour163.png" /></a> 
    <a href="http://www.51766.com/"><img src="{IMG_PATH}web/tour51766.png" /></a> 
    <a href="http://www.lotour.com/"><img src="{IMG_PATH}web/tourletu.png" /></a> 
    <a href="http://tongcheng.china.com.cn/"><img src="{IMG_PATH}web/tourcn.png" /></a>
</div>
{template "content","block-flink2"}
{template "content","footer"}
<script type="text/javascript" src="{JS_PATH}jquery.min.js"></script>
<script type="text/javascript" src="{JS_PATH}swfobject.js"></script>
<script type="text/javascript" src="{JS_PATH}slider.js"></script>
<script type="text/javascript" src="{JS_PATH}slider-h.js"></script>
<script>
    // 上部幻灯片
    var _flashvars = {xmlData:_xmlData};
    var _params = {menu:false};
    swfobject.embedSWF("{IMG_PATH}web/focus.swf", "swf-content1", "720", "257", "9","{JS_PATH}expressInstall.swf", _flashvars, _params);
    // 底部栅格图
    slider.init('slider-b');
</script>
{template "content","contact"}
</body>
</html>
